package io.github.wslxm.springbootplus2.manage.admin.model.vo;

import io.github.wslxm.springbootplus2.core.base.model.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 基础表--组织机构
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>
 *
 * @author ws
 * @email 1720696548@qq.com
 * @date 2021-09-30 16:10:57
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "AdminUserOrganVO 对象", description = "基础表--用户组织机构")
public class AdminUserOrganVO extends BaseVo {

	private static final long serialVersionUID = -603467428327985153L;

	@ApiModelProperty(value = "父Id (顶级父id=0)", position = 0)
	private String pid;

	@ApiModelProperty(value = "部门编码 (开始查询使用,不可重复)", position = 1)
	private String code;

	@ApiModelProperty(value = "部门/公司名称", position = 2)
	private String name;

	@ApiModelProperty(value = "部门/公司描叙", position = 3)
	private String desc;

	@ApiModelProperty(value = "排序", position = 4)
	private Integer sort;

	@ApiModelProperty(value = "禁用(0-否 1-是)", position = 5)
	private Integer disable;

	@ApiModelProperty(value = "级别(1-一级 2-二级 3-三级)", position = 5)
	private Integer root;

	@ApiModelProperty(value = "下级数据", position = 5)
	private AdminUserOrganVO organ;

	@ApiModelProperty(value = "部门名称S, 只在第一级vo中存在值, 包含下级+下下级", position = 7)
	private String organNames;

}

